package util.src.com;

/**
 * @Author: Gosin
 * @Date: 2020/10/30 11:22
 */
public class ReturnDoneNum {
    public int doneNum;

    public ReturnDoneNum(int doneNum) {
        this.doneNum = doneNum;
    }

    public int returnDoneNum() {
        return doneNum;
    }

    public void doneNumPlusPlus() {
        synchronized (this) {
            doneNum++;
        }
    }
}
